package io.github.wslxm.springbootplus2.manage.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.github.wslxm.springbootplus2.core.base.model.BasePage;
import io.github.wslxm.springbootplus2.manage.sys.model.entity.SysUserAkSk;
import io.github.wslxm.springbootplus2.manage.sys.model.vo.SysUserAkSkVO;
import io.github.wslxm.springbootplus2.manage.sys.model.dto.SysUserAkSkDTO;
import io.github.wslxm.springbootplus2.manage.sys.model.query.SysUserAkSkQuery;

/**
 * base--sys--用户管理 Service
 *
 * <p>
 * ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
 * </p>

 * @author ws
 * @email 1720696548@qq.com
 * @date 2025-09-24 09:26:12
 */
public interface SysUserAkSkService extends IService<SysUserAkSk> {

    /**
     * 列表查询
     *
     * @param query query
     * @return 分页列表数据
     */
    BasePage<SysUserAkSkVO> findPage(SysUserAkSkQuery query);

    /**
     * id 查询
     *
     * @param id id
     * @return SysUserAkSkVO
     */
    SysUserAkSkVO findId(String id);

    /**
     * 添加
     *
     * @param dto dto
     * @return 主键id
     */
    SysUserAkSkVO insert(SysUserAkSkDTO dto);

    /**
     * id 编辑
     *
     * @param id id
     * @param dto dto
     * @return boolean
     */
    boolean upd( String id, SysUserAkSkDTO dto);

    /**
     * 删除
     *
     * @param id id
     * @return boolean
     */
    boolean del(String id);

}

